package cn.com.cifi.mars.constant;
/**
 * 岗位定义类型
 * @author 60157
 *
 */
public enum JobDefinitionTypeEnum {
	ADMINISTRATIVEPOST("1","行政岗"),
	BUSINESSPOST("2","业务岗"),
    ;

    private String key;
    private String value;

    JobDefinitionTypeEnum(String key,String value) {
        this.key = key;
        this.value = value;
    }
    
    
    public static String getValueByKey(String key){
        for(LogEventEnum versionTypeEunm:LogEventEnum.values()){
            if(key.equals(versionTypeEunm.getKey())){
                return versionTypeEunm.getValue();
            }
        }
        return  null;
    }
    
    /**
     * @return the key
     */
    public String getKey() {
        return key;
    }

    /**
     * @return the value
     */
    public String getValue() {
        return value;
    }
}
